package com.tianpengtech.common;

import com.jfinal.config.Routes;
import com.tianpengtech.front.generator.GeneratorController;
import com.tianpengtech.front.im.ImController;
import com.tianpengtech.front.moduleA.H5Controller;
import com.tianpengtech.front.swagger.SwaggerController;

public class FrontRoutes extends Routes {

    @Override
    public void config() {
        setBaseViewPath("/WEB-INF/view");
        add("/h5", H5Controller.class, "/front/moduleA");
        add("/generator", GeneratorController.class, "/front/generator");
        add("/swagger", SwaggerController.class, "/front/swagger");
        add("/im",ImController.class, "/front/im");
    }
}
